package com.course.utils.web;

public enum HttpAction {
    test(0, "alive/test"),
    testPage(1, "alive/page_test"),

    configGet(2, "config/get"),
    imagUpload(3, "file/base64-upload"),

    newsQuery(4, "news/query"),
    loginReg(5, "user/reg_login"),
    imagUploads(6, "file/base64s-upload"),
    newVideoUpload(7, "news/video_upload"),
    versionGet(8, "version/get")
    ;
    int value;
    String action;

    HttpAction(int value, String action) {
        this.value = value;
        this.action = action;
    }

    public int getValue() {
        return value;
    }

    public String getAction() {
        return action;
    }
}
